package com.prp.gwt.client.vo;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class UserList implements IsSerializable {
	private List<User> users = new ArrayList<User>();
	private User owner;
	private User sender;
	
	public int size(){
		return users.size();
	}
	
	public User get(int index){
		return users.get(index);
	}
	
	public void addUser(User user){
		users.add(user);
	}
	
	public User getOwner(){
		return owner;
	}
	
	public void setOwner(User owner){
		this.owner = owner;
	}
	
	public User getSender(){
		return sender;
	}
	
	public void setSender(User sender){
		this.sender = sender;
	}
}
